package com.luyou;

import com.luyou.service.UserService;
import com.luyou.springframework.MyApplicationContext;

//https://gitee.com/archguide/zhouyu-spring
public class MyApplication {

    public static void main(String[] args) {
        MyApplicationContext myApplicationContext = new MyApplicationContext(AppConfig.class);
        UserService userService = (UserService)myApplicationContext.getBean("userService");
        userService.test();
    }
}
